import request from '@/utils/request.js'

// 常量
const api_name = '/order/h5/refund'

export default {
    getRefundBaseDataByOrderId(orderId) {
        return request({
            url: `${api_name}/getRefundBaseDataByOrderId/${orderId}`,
            method: 'get'
        })
    },
    refundApply(data) {
        return request({
            url: `${api_name}/refundApply`,
            method: 'post',
            processData: false,
            contentType: false,
            data: data
        })
    }
}
